/*
* @Author: Yejing
* @Date: 2023-06-10 10:31:21
* @LastEditors: Yejing
* @LastEditTime: 2023-06-15 11:06:07
* @Description: 二维码
*/
<template>
    <view class="qr-code-page">
        <!-- 头部 -->
        <c-navigation-bar title="二维码" title-color="#fff" navbar-bg-color="#2934D0" left-icon-color="#fff">
        </c-navigation-bar>
        <view class="container-box">
            <view class="block">
                <div class="qode">
                    <u-image width="100%" height="100%" :src="qode"></u-image>
                </div>
                <text class="name">Store name</text>
                <text class="info">You can scan the QR code to learn more</text>
                <u-button type="primary">Save to album</u-button>
            </view>
        </view>
    </view>
</template>

<script>
export default {
    data() {
        return {
            qode: require('static/images/2934349b033b5bb571dc8c5133d3d539b600bc12.png')

        }
    },
    methods: {}
}
</script>

<style lang="scss" scoped>
.qr-code-page {
  width: 750rpx;
  background: #2934D0;
  height: 100vh;

  .container-box {
    position: relative;

    .block {
      width: 650rpx;
      background: #FFFFFF;
      border-radius: 40rpx;
      margin: 0 auto;
      margin-top: 150rpx;
      position: relative;
      padding: 158rpx 0 60rpx 0;

      .qode {
        margin: 0 auto;
        padding: 40rpx;
        width: 348rpx;
        height: 348rpx;
        background: linear-gradient(to left, #2934D0, #2934D0) left top no-repeat,
        linear-gradient(to bottom, #2934D0, #2934D0) left top no-repeat,
        linear-gradient(to left, #2934D0, #2934D0) right top no-repeat,
        linear-gradient(to bottom, #2934D0, #2934D0) right top no-repeat,
        linear-gradient(to left, #2934D0, #2934D0) left bottom no-repeat,
        linear-gradient(to bottom, #2934D0, #2934D0) left bottom no-repeat,
        linear-gradient(to left, #2934D0, #2934D0) right bottom no-repeat,
        linear-gradient(to left, #2934D0, #2934D0) right bottom no-repeat;
        background-size: 6rpx 35rpx, 35rpx 6rpx, 6rpx 35rpx, 35rpx 6rpx;
      }

      uni-text {
        display: block;
        text-align: center;
      }

      .name {
        color: #000000;
        font-size: 48rpx;
        margin: 50rpx 0 18rpx 0;
      }

      .info {
        color: #666666;
        font-size: 28rpx;
        margin-bottom: 54rpx;
      }

      uni-button {
        margin: 0 auto;
        width: 400rpx;
        border-radius: 60rpx;
      }
    }
  }

}
</style>